package cn.xmkeshe.dao;

import org.apache.ibatis.annotations.Select;

import java.util.Set;

public interface IActionDao {

  @Select("SELECT flag FROM action WHERE actid IN (SELECT actid FROM role_action WHERE rid IN (SELECT rid FROM admin_role WHERE admin_role.aid = #{aid}))")
  public Set<String> findAllActionByAdmin(String aid);
}
